package com.ruoyi.NewProduct.mapper;

import com.ruoyi.NewProduct.domain.NewProduct;

import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface NewProductMapper {

    public List<NewProduct> selectShopByIf(NewProduct re);
    public List<NewProduct> selectShopByWhen(NewProduct re);

    public  int insertNewresShop(NewProduct re);

    public   int updateNewresshop(NewProduct re);


    public int deleteNewresShop(int id);

    @Select("select * from res_shop where id =#{id}")
    public NewProduct getShopByid(Long id);

    //查询所有店铺接口
    public List<NewProduct> getShopList();

    //查询某个店铺的详情
    public NewProduct getShopDetailByIdName(String name);



}

